[dbpedia_rule1:
  (?r1 rdf:type <http://dbpedia.org/ontology/Work>)
  (?r1 ?p ?v)
  (?r1 <http://xmlns.com/foaf/0.1/name> ?name)
  noValue(?r1, rdf:type, <http://purl.org/ontology/po/Programme>)
  ->
  (?r1 rdf:type <http://purl.org/ontology/po/Programme>)
  (?r1 <http://purl.org/dc/terms/title> ?name) ]

[dbpedia_rule2:
  (?r1 rdf:type <http://dbpedia.org/ontology/Work>)
  (?r1 <http://dbpedia.org/ontology/abstract> ?abstract)
  (?r1 ?p ?v)
  ->
  (?r1 <http://purl.org/ontology/po/synopsis> ?abstract)
  drop(1) ]

[bbc_rule1:
  (?r1 rdf:type <http://purl.org/ontology/po/Programme>)
  noValue(?r1, rdf:type, <http://dbpedia.org/ontology/Film>)
  noValue(?r1, <http://purl.org/ontology/po/synopsis>)
  (?r1 <http://purl.org/ontology/po/long_synopsis> ?synopsis)
  ->
  (?r1 <http://purl.org/ontology/po/synopsis> ?synopsis) ]

[clean2:
  (?r1 ?p ?v)
  noValue(?r1, rdf:type)
  -> drop(0) ]